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

Query time 0.00016

JSON explain

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