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

Query time 0.00026

JSON explain

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