SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba08d1a270533321657475c2480400b33d528e0dc02303a2652b87e68507d2c8' 
  AND token = 'r2InB17R7qgtpqqItbyh3vamSxhpw7OYzf537MDFiYQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00068

JSON explain

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