SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e1fb7144abd78be4588932f4f89efc1ebfd8424248203c575843f0b37b0c62dc' 
  AND token = 'J+4nYI7EblkkTpQ7FeEOOLsAtFFNlFLPWKnJ3Ss1kvU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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