SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '823e0e9f8173c21d8c651cb5288a8c37235dc5589a08207224e095c2d85bb98c' 
  AND token = 'lEFM+WJWQZfcrWB7Jl3UnJVNzs5dr7cG81eBpaG5+KA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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