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

Query time 0.00031

JSON explain

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