SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e31b13f07dac91e69141fd348fcd8829c5bcdb72971e6cce3e1bd339e63a907' 
  AND token = 'Wj2WNVelEAX4TbuXmO7qduB7iR7xfrz8Dic0ehtfgnw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}