SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f5c5b6278ded7044aed51646057a9491029684002b8a090d51169194e62d90e' 
  AND token = 'QSIj/UCSmkY0ufpCDJ8KR2+ztbKofHRPqIZtdDUEWFw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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