SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9ab3a2c65cc8a6a5c6dfaf6b29415bec4b3a4710179dd0255f0cf29f1b4dd42' 
  AND token = 'yb09+eFordJfsHW/s08RBw+Ce95gCf76oLO0/VMn+08=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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