SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a022c0e3b1c17657e171bd37a783b94abad33828298dbb414743ec180df8c893' 
  AND token = '8yAui2jeF6kIxNlK7HZDEINNCbeIkouo6DGZeE2ijmk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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