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

Query time 0.00022

JSON explain

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