SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0624efad15480fc2467cb362c18c75272b048cace841930ba954a89919166a74' 
  AND token = 'XzHisDdoGatsua4RJx0kmYzYFXtKPFyq7WshRr8H3vM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}