SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10f06cfc22d2862916b715199c4e66cc145a7843dda2d8dc9223d304fa10c796' 
  AND token = 'OXrKRlhqaqd7N55MGYyeg3iadEYJMbeGRQc+vHI7u/0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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