SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d7bcc8cb6547398e1d1bc012c5bde7f08f88908831cb9cec85fa397b3e31d31' 
  AND token = '3wHnkY0Vkm4XFClMmqf5iWTNsbbVrbJgh1XB5u8jPAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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