SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8d1ec7ac68fa2ce3337db0cf4cb691f8e337182d2971d0c83c2e73185df315f' 
  AND token = 'p4hJ8kACZBxbJlzl8t1ojm3OQ1jKOHUaZXIrF2kvvF0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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