SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b210dae204834a519abfee5561c0ef913fe7baf82de2fcd01b05ee02d385b1c' 
  AND token = 'k0EB7WjQ1RQKMWS8NfTIT4LwlW+cC/7gUlEOGX/+W2I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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