SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f78002dd6056ce6a30c906d9593371d6d476a82c99a6ea131875f427575fe12a' 
  AND token = 'YCC2YouoVaRePKBEx2xSQ4m+DFxj7JxAnrpwJYryR8o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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