SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18515fb450505a88f6a957fa3ca1954cc3ca23caa30139d49bc707a01c8cf256' 
  AND token = 'wTnOGKgH6PyzLV8UFpZkNoORw14GB7BNtpFfFgxZQOs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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