SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fec05dce564ac504c4d5bfbfb6b0ffc18f53388630a0a3dd4db5c77ea5c97f57' 
  AND token = 'D6FFmQs4L/usyEGab17dF5BWJuSNmGCEVHyfrJ1cHFw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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