SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '518c460bd6409936330db7cc6ab6ec8a6ee664cbefdcbf9ca46ac760d2c245b0' 
  AND token = 'kUM2TRr9YVEbOJlNidGggxL2N7mgcuK8O3aeMsR1A+0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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