SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e51c8431e5b980c506fe3d3a6bc7f9779e03bd44be5a8836f56cd8c96340823a' 
  AND token = 'n8Yke1bXacIB9KCOBxb4quoXlzVuc4JagF3xqCtEK+M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}