SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12180f9b16464a715a7cdd222bd17e4274b01092e1a7fbbade8b60134f71926c' 
  AND token = 'IfVH/6CRHZDucIUjjHHfDon8M970Quo+AkeVlw5MXjE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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