SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd507df794f196aee98cce8f0cd9430b6db11883924eed76323cb1597a5f3d8' 
  AND token = 'fgXiEFFl8ao1chihrP7F4Q3CgYhoLX6zN/5elw3iRzg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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