SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a138d20b8d31cdd8b053ba2ab618bb5f723fffe219ae162c549702806d4f9d8' 
  AND token = '8/4fGnjGD0B63todhGQYy7yFBM8u7iaFF3Xt9JCPyl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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