SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f699e9f8f11bba248812c6da5e7bf0fcbf237c461bdd332ef6dd487f5410f8c' 
  AND token = 'P7dR4bVEskXqAr55G8HuHTistAAU/y9alvl3F5fErLY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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